package com.shopowner.service;



import com.shopowner.dto.DTO;
import com.shopowner.entity.Activitytype;
import com.shopowner.page.PageInfo;


public interface ActivitytypeService {
    /**
     * 查询全部活动类型
     * @return
     */
    public DTO<Activitytype> getAllActivitytypes() throws Exception;
    /**
     * 删除活动类型
     * @return
     */
    public DTO<Activitytype> deleteActivitytypeByAtno(String atno) throws Exception;
    /**
     * 修改活动类型
     * @return
     */
    public DTO<Activitytype> updateActivitytypeByAtno(Activitytype activitytype) throws Exception;
    /**
     * 增加活动类型
     * @return
     */
    public DTO<Activitytype> addActivitytype(Activitytype activitytype) throws Exception;
    /**
     * 分页查询活动类型
     * @return
     */
    public DTO<Activitytype> getActivitytypeByPage(PageInfo pageInfo) throws Exception;
}
